package com.sky.service;

import com.sky.Entity.Employee;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.vo.EmployeeQueryListVo;

public interface EmployeeService {
    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);
    void add(EmployeeDTO employeeDTO);

    EmployeeQueryListVo query(String name, Integer page, Integer pageSize);

    void updateStatus(Long id, Integer status);

    Employee queryById(Long id);

    void update(EmployeeDTO employeeDTO);
}
